All,

Is there a way to define (:=) to be (<-) in the context of a do? This would
then allow:

result = do
        initialize
        vi1 := Vi.create
        Vi.setValue vi1 5.5
        Vi.enable vi1
        vi2 := Vi.create
        Vi.setValue vi2 6.0
        cond1 (isnt (Vi.enabled vi2)) (Vi.setValue vi2 0.0)
        s := Vi.value vi2
        return s

The goal is to make the language look Pascal like for those who will use it.

Mike


Reply via email to