Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
18%
200 - 500 GB
26%
500 - 800 GB
3%
800 - 1200 GB
9%
1200 - 1500 GB
12%
1500 - 2000 GB
12%
> 2000 GB
21%
Total votes: 34

Baanboard at LinkedIn


Reference Content

 
not.fixed()
By patvdv at 26 Feb 2008 - 21:57

not.fixed()

Syntax

void not.fixed( string string_var(.) )

Description

You can fill a string with or without specifying a start position. If you specify a start position, unused positions in the string are filled with spaces. You can prevent the string from being filled out with spaces by calling not.fixed() before filling the string. Note that, when you assign a new value to the string variable, positions after the new value are not changed.

Note

This function does not work with variables declared as FIXED.

Context

Bshell function.

Example 1

 string buf(10)

 buf(5)    = "***"    | buf contains "    ***   "        (length = 10)
 buf       = "***"    | buf contains "***"               (length = 3)

Example 2

 string buf(10)

 not.fixed( buf )
 buf(5)    = "***"    | buf contains "    ***"           (length = 7)
 buf       = "***"    | buf contains "*** ***"           (length = 7)

Related topics


0
No votes yet


All times are GMT +2. The time now is 11:40.


©2001-2018 - Baanboard.com - Baanforums.com