File:  [CSRG BSD Unix] / 43BSD / contrib / icon / test / distr / std05.out
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

s := "abcd" ----> "abcd"
{s[1:2] := "xx";s} ----> "xxbcd"
{s[-1:0] := "";s} ----> "xxbc"
{s[1] := "abc";s} ----> "abcxbc"
{s[1+:2] := "y";s} ----> "ycxbc"
{s[2] :=: s[3];s} ----> "yxcbc"
s[6] := "t" ----> none
s[0-:6] := "u" ----> none
{s[1:0] :=: s[0:1];s} ----> "yxcbc"
Run-time error 103 at line 18 in std05.icn
string expected
offending value: &null

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.