Search found 24 matches
Re: FUNCTIONS
When I do that, I get error in my function ERROR: Right parenthesis expected near line 389 in GLOBAL procedure yet the right parenthesis exists
FUNCTIONS
Dear members, have defined the following function: { check entry of alpha string variables } function alphachk( string alphavar, alphlen, string tail ); { alphavar: the actual string to be checked } { alphlen: length of first consecutive part for the field, e.g. A-G is 7 } { tail: the last character...
- January 23rd, 2019, 3:30 am
- Forum: Entry
- Topic: DECLARE LIST OF STRING VARIABLES
- Replies: 7
- Views: 4088
Re: DECLARE LIST OF STRING VARIABLES
This is well understood
- January 20th, 2019, 11:33 am
- Forum: Entry
- Topic: DECLARE LIST OF STRING VARIABLES
- Replies: 7
- Views: 4088
Re: DECLARE LIST OF STRING VARIABLES
So, how do I declare those 3 stings as I want them each to have a length of 100,not 100 strings as @Josh has explained. My aim is to put them in same line coz I have other strings that take different lengths
- January 20th, 2019, 11:24 am
- Forum: Entry
- Topic: DECLARE LIST OF STRING VARIABLES
- Replies: 7
- Views: 4088
Re: DECLARE LIST OF STRING VARIABLES
That's so clear. Thanks for the clarification
- January 18th, 2019, 3:04 am
- Forum: Entry
- Topic: DECLARE LIST OF STRING VARIABLES
- Replies: 7
- Views: 4088
DECLARE LIST OF STRING VARIABLES
Dear all,
I would like to declare a string array taking 60 characters
I have done the following:
However, it fails to compile except when I declare only 1 string as:
Can someone help please?
I would like to declare a string array taking 60 characters
I have done the following:
Code: Select all
array string myString(100), myString2(100), myString3(100);
Code: Select all
array string myString(100);
- January 12th, 2019, 1:14 pm
- Forum: Entry
- Topic: GPS STORAGE IN ENTRY, MODIFY AND VERIFY MODES
- Replies: 10
- Views: 7165
Re: GPS STORAGE IN ENTRY, MODIFY AND VERIFY MODES
Thanks Josh. Will try this. Just to clarify: In add mode: GPS try, if no results, assign missing or - 90. Then in modify mode, if assigned =missing/-90 try readi g again. Previous code works upto assign missing in add mode. But if I exit application or partial save, these fields are skipped yet thei...
- January 12th, 2019, 1:00 pm
- Forum: Entry
- Topic: DEPRECATION WARNING
- Replies: 2
- Views: 1886
Re: DEPRECATION WARNING
Thanks Josh.
Much appreciated
Much appreciated
- January 12th, 2019, 10:47 am
- Forum: Entry
- Topic: DEPRECATION WARNING
- Replies: 2
- Views: 1886
DEPRECATION WARNING
DEPRECATION: Consider using a variable-length 'string' instead of a fixed-length 'alpha' for alphanumeric variables
This is my code please
How can I help this please?
This is my code please
Code: Select all
alpha(string) cod_oper, x; { Operator code }
alpha(1) scode; { serial code to retrieve the operator id }
- January 12th, 2019, 10:19 am
- Forum: Entry
- Topic: GPS STORAGE IN ENTRY, MODIFY AND VERIFY MODES
- Replies: 10
- Views: 7165
Re: GPS STORAGE IN ENTRY, MODIFY AND VERIFY MODES
Dear Josh, Found a way to move to 7.1 however, the code still requires tweaking. When I try it on phone, and GPS isn't available, it assigns the values yes. Second, when I progress to the end and conclude a case, it cannot re-initiate the GPS search and just stuck on previous values entered. This is...