Calling of procedure

Technoman

Senior Member
Hi

We are using Logicator in Full French version.

1) As some labels translated into French in the procedure menu (GOTO/go sub) are a little confusing for our students, we were switching between the French and the English version. In doing that, most of the blocks became grey, amongst them the ones in the Procedure menu. They remained grey even after we switched back to French. Is it a bug related to the full/shareware/limited version of the software?

2) We never used the "GOTO" block but looking closely when you double-click on it you see the list of procedures available. It looks like a subroutine call excepted, in this case, your procedure should not end by a return.
What is the purpose of this block as you may draw lines? Having a large number of blocks not seen on the screen at once? A good chance to end with a "spaghetti" type of flow sheet...
Are we correct?

Technoman
 

nick12ab

Senior Member
2) We never used the "GOTO" block but looking closely when you double-click on it you see the list of procedures available. It looks like a subroutine call excepted, in this case, your procedure should not end by a return.
What is the purpose of this block as you may draw lines? Having a large number of blocks not seen on the screen at once? A good chance to end with a "spaghetti" type of flow sheet...
You use that when you cannot get the line to go to the command you want, or when it would be messy to do so.

Attached is an example of its use.
 

Attachments

Technical

Technical Support
Staff member
1) we have not seen this before, and cannot duplicate it. Language should not affect registered/free modes. Does it reoccur when the software is next started?
2) goto is for use when a line simply cannot be physically drawn where you want to get to on complicated flowcharts
 
Last edited:

Technoman

Senior Member
To nick12ab
We ask the students to call subroutines from the main loop, eventually calling lower level subroutines and so on. It may be slower, but it is more readable. As their projects remain simple, they do have short flow sheets. In English, GOTO/GOSUB is fairly clear, the translation into French gave "aller à procedure" and "appeler procedure" ; the point is that the word "procedure" is used in both cases, but the second one is a subroutine which should end with a return block, not the first. We are thinking of a proposal for renaming one of them.

To Technical
The version we use is the latest (Version 3 build 6.7). It does not reoccur when we are restarting the software. We noticed that if we switch from on language to an another before the message "Scan for USB", it works, no more after ; we get many greyed blocks.
It happens when no cable is connected. We haven't try with a connected cable as we were doing some simulations.

Technoman
 

Technoman

Senior Member
Hi,

We confirm : whatever the cable is connected or not, we still have the greyed out blocks when we switch from English to French and vice versa after the message has popped up. We do have to restart the software every time. It is not a big problem but bizarre...
 
Top