QXREP_SPACES

Specifies the maximum number of spaces any string can have (in a row) not to be split in the Informix® compatibility mode.

Syntax

QXREP_SPACES={any integer}

Usage and examples

There are cases when strings are split into shorted strings, e.g.:

In these cases, string containing several spaces in a row can be split in places where these spaces occur:

QXREP_SPACES = 2

By default, the maximum number of spaces any string can have (in a row) not to be split is equal to 1.

You can change this number by

The default behavior in achieved if none of these variables is set (neither QXREP_SPACES nor gui.layout.break.max_spaces).

In the table below, you can see how the string with spaces is split (for default values, i.e. QXREP_SPACES = 1).

The table also gives examples of how strings are split if they contain the symbols considered the beginning and the end of the new string (see QXBREAKCH_START and QXBREAKCH_END for details).

abc def ghi

abc def ghi

 

 

abc   def   ghi

abc

def

ghi

abc def   ghi

abc def

ghi

 

abc   def ghi

abc

def ghi

 

abc   +def

abc

+def

 

abc   :def

abc

:

def

abc+   def

abc

+

def

abc:   def

abc:

def

 

When a string is split in the place where more than max spaces occur, these spaces are trimmed.

In env.properties and inet.env, QXREP_SPACES must be set together with QX_COMPAT=Informix4GL.

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.