SIGN Function
|
01-04-2017, 11:04 AM
(This post was last modified: 01-04-2017 11:10 AM by DrD.)
Post: #3
|
|||
|
|||
RE: SIGN Function
First, please include the program, (so that we can copy/paste it into our conn kit). You can do that by using the hash tag on the right side of the message editor toolbar.
Second, your image cuts off the conditional action on the IF THEN ELSE END; branch. I'll take a guess at that ... Third, as shown, you are missing an END; statement that terminates the conditional structure. Fourth, you don't need the "LOCAL" definition, since you have declared the variables on entry, in the program calling structure. OKDATE(J,M,A) .... However, you are using reserved variables. You should read about them in the guides, to fully understand this reservation. Fixing ONLY the syntax error in the image, (it might be there but just not shown is a missing "End;"), here is the result: Code:
You might want to work through the rest of the program, yourself; but feel free to ask, if you want further suggestions. HINT: You can insert/remove DEBUG; or KILL; statements along the way, to check the consequence of a procedure. You can make use of those reserved variables on the command line, to check the results from statements, or procedures. You can clear the terminal screen by first using a PRINT(); if you want to start with a blank screen. You can use comment markers, "//" commenting out commands to temporarily remove them, if need be: // LOCAL J,M,A; for example. -Dale- |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
SIGN Function - ggauny@live.fr - 01-04-2017, 08:19 AM
RE: SIGN Function - Carlos295pz - 01-04-2017, 10:58 AM
RE: SIGN Function - DrD - 01-04-2017 11:04 AM
RE: SIGN Function - ggauny@live.fr - 01-04-2017, 11:38 AM
RE: SIGN Function - DrD - 01-04-2017, 11:55 AM
RE: SIGN Function - ggauny@live.fr - 01-04-2017, 12:19 PM
RE: SIGN Function - StephenG1CMZ - 01-04-2017, 04:19 PM
RE: SIGN Function - Didier Lachieze - 01-04-2017, 03:12 PM
RE: SIGN Function - ggauny@live.fr - 01-04-2017, 03:34 PM
RE: SIGN Function - Didier Lachieze - 01-04-2017, 04:10 PM
RE: SIGN Function - cyrille de brébisson - 01-05-2017, 06:26 AM
RE: SIGN Function - DrD - 01-05-2017, 12:38 PM
RE: SIGN Function - cyrille de brébisson - 01-09-2017, 06:56 AM
RE: SIGN Function - DrD - 01-09-2017, 10:33 AM
|
User(s) browsing this thread: 1 Guest(s)