luked
10-15-02, 16:17
| Hi- I'm new to Natural (v3.1) programming against ADABAS. I need to find a forum of like-minded developers who can help me find my way through the language. Case in point: I can define "Logical" variables all over the place, assign explicit True or False to them, then use them. How do I assign the results of a calculation to one? Instead of writing: If #A = 3 #TF := True Else #TF := False END-IF I'd prefer to write something like: #TF := (#A EQ 3) An IF statement to assign a logical value is redundant, but I can't figure out how to "compute" the result of a logical expression and store it in a logical variable. So far, this is the first forum I've found which came this close to my subject(!) I'll appreciate any advice you can give me for finding Natural/Adabas programming assistance on the web. Thanks! |