On 12/12/2013 03:00 PM, Steve Wampler wrote:
 > It looks as though blanks aren't always significant during parsing
 > a Unicon program.  In the first assignment below, "|   |" appears
 > to be parsed as the token "||":
 >
 > ----------------------------------------
 > procedure main()
 >      p := [: 1|2|3|   |0\3 :]
 >      every writes((!p||" ")|"\n")
 >      p := [: 1|2|3| (|0\3) :]
 >      every writes((!p||" ")|"\n")
 > end
 > ----------------------------------------

It appears to be specific to the new [: ... :] operation:

------------------------------------------
procedure main()
     every write(1|2|3|   |0\3)
     write("-----------------")
     every write(![: 1|2|3|   |0\3 :])
end
------------------------------------------

produces:

------------------------------------------
->bug2
1
2
3
0
0
0
-----------------
1
2
30
->
------------------------------------------

-Steve
-- 
Steve Wampler -- swamp...@noao.edu
The gods that smiled on your birth are now laughing out loud.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to