/[eiffelstudio]/trunk/eweasel/tests/lib046/test.e
ViewVC logotype

Contents of /trunk/eweasel/tests/lib046/test.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 100469 - (show annotations)
Wed Jun 14 15:38:11 2017 UTC (2 years, 2 months ago) by alexk
File size: 462 byte(s)
Added an example to demonstrate that the command line string returned by ARGUMENTS_32 has a leading space.
1 class TEST
2
3 create
4 make
5
6 feature {NONE} -- Creation
7
8 make
9 -- Run test.
10 local
11 c: CHARACTER_32
12 do
13 -- Look at the first character of the command line.
14 c := (create {ARGUMENTS_32}).command_line [1]
15 -- It should not be a space.
16 io.put_string ("Space: ")
17 io.put_boolean (c.is_space)
18 io.put_new_line
19 -- It should not be a control character.
20 io.put_string ("Control: ")
21 io.put_boolean (c.is_control)
22 io.put_new_line
23 end
24 end

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23