Support Board
Date/Time: Thu, 28 Nov 2024 18:29:14 +0000
Problems with sc.UserName.
View Count: 308
[2023-04-15 02:56:50] |
esMike - Posts: 69 |
There is no getUserName() function anymore? I seem to be getting an error with this... I cant seem to convert sc.UserName to chars or a SCString. SCString(sc.UserName).GetChars error: invalid conversion from 'SCString (*)()' to 'int' [-fpermissive] And this is none of this working... Any help? if (SCString(sc.UserName).GetChars == "Users Name") { if (sc.UserName == "Users Name") { error: comparison between distinct pointer types 'SCString (*)()' and 'const char*' lacks a cast [-fpermissive] SCString studyUser = sc.UserName; error: conversion from 'SCString (*)()' to 'SCString' is ambiguous Huh? is sc.Username not a SCString? I'm confused here... Date Time Of Last Edit: 2023-04-15 03:07:25
|
[2023-04-15 03:28:30] |
esMike - Posts: 69 |
Oh... It's a function. Working now! SCString myUser = sc.UserName(); |
To post a message in this thread, you need to log in with your Sierra Chart account: