Click here to Skip to main content
16,003,702 members

Comments by patrickb123 (Top 9 by date)

patrickb123 21-Oct-20 4:19am View    
This was the way i was previously dealing with this issue, however now that i have created the Do While loop, it does not work as it will run forever if i ran the following code:

WHILE {Client.Name} <> "Patrick" DO
UPDATE({Client.Name}, "Patrick")
ENDLOOP

as it would just get replaced with the current value, which can change in loops etc...
patrickb123 7-May-20 7:50am View    
Hi sorry for the confusion, when i run this through the interpreter, the message in the dialog box is blank and the interpreter gives out an exception which states: Expected: RParen got NewLine at line 3: result = Question("this is a test with print")
patrickb123 7-May-20 7:34am View    
Unfortunately this is not what i am looking for, as the code uses a .txt file with the BASIC code inside of it, the C# code interprets this code, so for example if the question command in the file says: QUESTION("do you wish to continue") The Dialog Box text should say : "Do you wish to continue?"
patrickb123 7-May-20 7:26am View    
I cannot seem to get the text into the message box, i'm happy to do a screenshare so i can elaborate it to you better?
patrickb123 7-May-20 7:22am View    
So the text in the brackets of the question which is: QUESTION("Do you wish to record time today?"), needs to be put into the dialog result text, which in the above code can be seen using the abc variable: DialogResult result = MessageBox.Show(abc, "Confirmation",