Hello Community Members,
I am going through the basic of SimTalk and I learned that variables are defined between ''is and do'' and source code is written between ''do and end''. But in some methods there is something written before''is''
For e.g. (attrib : string; value : any)
What does this stand for and why are they needed ?
is and do used in simtalk1 but simtalk2 , no need to write is and do..check difference between simtalk 1 and 2 in the help file ...
We can defined var between is and do..Like(Simtalk 1)
----------------------In simtalk 2
var a: integer;
var b: integer/string/anything--(Datatype)
Answer for your second question:
before is and do, they are defined param which gives value of previous method.. like (insimtalk1)
here you will get value of v1 and v2 from previous method(in the form of integer) and name as form of string...
For simtalk 2:
you mix SimTalk (1.0) and SimTalk 2.0.
starting from V 12.0 (I don't remember exactly) SimTalk 2.0 was introduced, because of it's ease of use.
there is no reason at all to stick on it and I strongly recommend only to focus on 2.0, which is set as default here:
as soon as you see a is-do-end you'll know it's SimTalk (1.0) and can be translated by just pressing the button shown above.
By Shift-RightClick on the Basis of the Class Library and selecting the option below, you'll be able to translate any old code at once.