Or if we want something that smells like a ternary operator ( :=, &, |),
the following works fine in unicon (some parentheses required):

procedure main()
   write ( m := (\x & "hello") | "hi")
   x := "good"
   write ( m := (\x & "good") | "gd")
end

Phillip


_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to