Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
19%
200 - 500 GB
30%
500 - 800 GB
4%
800 - 1200 GB
7%
1200 - 1500 GB
7%
1500 - 2000 GB
11%
> 2000 GB
22%
Total votes: 54

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 23:47.


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