Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
returns integer not text
#1
i am trying to return the text string but it only returns numbers.

it should return, test.cpp  it returns 85752528 for some reason i cant figure out

thank you
 
Code:
Copy      Help
 out
str a= sub.t
out a

#sub t
str a =("C:\SierraChart\ACS_Source\test.cpp - Notepad++ [Administrator] Notepad++")

int b = findcr(a "\")+1
int c = findcr(a ".cpp")+4
str d
ret d.get(a b c-b )


Messages In This Thread
returns integer not text - by ilcaa - 07-29-2020, 03:30 PM
RE: returns integer not text - by Start_Learning - 07-29-2020, 06:19 PM
RE: returns integer not text - by ilcaa - 07-31-2020, 02:52 PM
RE: returns integer not text - by Start_Learning - 07-31-2020, 04:44 PM
RE: returns integer not text - by ilcaa - 07-31-2020, 08:06 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)