Overview › util.bas
Module util.bas
fbdoc/inc/util.bas:1
Module util.bas. Contains 15 function(s).auto
LC
function LC(ByRef s As String) returns(String)
===================================================================== fbdoc - Algemene helpers: meldingen, strings, escapes en paden =====================================================================
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | s As String | by refauto |
Returns
String — value of type StringCalls
util.bas.LCutil.bas:5
Say
function Say(ByRef s As String)
Alle meldingen lopen via Say: naar de console en, als er een logbestand is geopend, ook daarheen.
Zo blijft diagnose mogelijk wanneer de console onbruikbaar is (bijv. GUI-subsystem of een IDE die uitvoer opslokt).
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | s As String | by refauto |
Called by
util.bas.IsDirPathutil.bas:12
OpenLogEarly
function OpenLogEarly()
Zoekt --log/-L in de argumenten voordat de rest wordt verwerkt, zodat ook de eerste meldingen in het logbestand terechtkomen.
no callers within the scanned code
util.bas:21
Fmt1
function Fmt1(ByVal d As Double) returns(String)
eenvoudige vervanging voor Format() zodat vbcompat.bi niet nodig is
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByVal | d As Double | by valauto |
Returns
String — value of type Stringno callers within the scanned code
util.bas:43
IsIdentChauto
function IsIdentCh(ByRef c As String) returns(Integer)
Determines whether ident ch applies. Returns Integer.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | c As String | by refauto |
Returns
Integer — value of type Integerno callers within the scanned code
util.bas:60
IsDigitChauto
function IsDigitCh(ByRef c As String) returns(Integer)
Determines whether digit ch applies. Returns Integer.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | c As String | by refauto |
Returns
Integer — value of type Integerno callers within the scanned code
util.bas:69
ReplaceAllauto
function ReplaceAll(ByRef s As String, ByRef f As String, ByRef r As String) returns(String)
Function replace all. Returns String.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | s As String | by refauto | |
ByRef | f As String | by refauto | |
ByRef | r As String | by refauto |
Returns
String — value of type Stringutil.bas:76
HtmlEscauto
function HtmlEsc(ByRef s As String) returns(String)
Function html esc. Returns String.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | s As String | by refauto |
Returns
String — value of type StringCalls
util.bas.ReplaceAll (4x)no callers within the scanned code
util.bas:93
JsonEscauto
function JsonEsc(ByRef s As String) returns(String)
Function json esc. Returns String.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | s As String | by refauto |
Returns
String — value of type StringCalls
util.bas.ReplaceAll (5x)no callers within the scanned code
util.bas:102
NormSepauto
function NormSep(ByRef s As String) returns(String)
Function norm sep. Returns String.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | s As String | by refauto |
Returns
String — value of type StringCalls
util.bas.ReplaceAllCalled by
util.bas.PathBase, util.bas.IsExcludedutil.bas:112
PathBaseauto
function PathBase(ByRef s As String) returns(String)
Function path base. Returns String.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | s As String | by refauto |
Returns
String — value of type StringCalls
util.bas.NormSepCalled by
util.bas.PathExtOfutil.bas:116
PathExtOfauto
function PathExtOf(ByRef s As String) returns(String)
Function path ext of. Returns String.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | s As String | by refauto |
Returns
String — value of type StringCalls
util.bas.PathBase, util.bas.LCCalled by
util.bas.ExtWantedutil.bas:126
ExtWantedauto
function ExtWanted(ByRef fn As String) returns(Integer)
Function ext wanted. Returns Integer.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | fn As String | by refauto |
Returns
Integer — value of type IntegerCalls
util.bas.PathExtOfno callers within the scanned code
util.bas:136
IsExcludedauto
function IsExcluded(ByRef p As String) returns(Integer)
Determines whether excluded applies. Returns Integer.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | p As String | by refauto |
Returns
Integer — value of type IntegerCalls
util.bas.LC (2x), util.bas.NormSepno callers within the scanned code
util.bas:144
IsDirPathauto
function IsDirPath(ByRef p As String) returns(Integer)
Determines whether dir path applies. Returns Integer.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | p As String | by refauto |
Returns
Integer — value of type IntegerCalls
util.bas.Say (2x)no callers within the scanned code
util.bas:161