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 =====================================================================
ParameterTypeDirectionDescription
ByRefs As Stringby refauto
Returns String — value of type String
Calls util.bas.LC
Called by util.bas.LC, util.bas.PathExtOf, util.bas.IsExcluded
util.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).
ParameterTypeDirectionDescription
ByRefs As Stringby refauto
Called by util.bas.IsDirPath
util.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
ParameterTypeDirectionDescription
ByVald As Doubleby valauto
Returns String — value of type String
no callers within the scanned code
util.bas:43

IsIdentChauto

function IsIdentCh(ByRef c As String) returns(Integer)
Determines whether ident ch applies. Returns Integer.
ParameterTypeDirectionDescription
ByRefc As Stringby refauto
Returns Integer — value of type Integer
no callers within the scanned code
util.bas:60

IsDigitChauto

function IsDigitCh(ByRef c As String) returns(Integer)
Determines whether digit ch applies. Returns Integer.
ParameterTypeDirectionDescription
ByRefc As Stringby refauto
Returns Integer — value of type Integer
no 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.
ParameterTypeDirectionDescription
ByRefs As Stringby refauto
ByReff As Stringby refauto
ByRefr As Stringby refauto
Returns String — value of type String
Called by util.bas.HtmlEsc, util.bas.JsonEsc, util.bas.NormSep
util.bas:76

HtmlEscauto

function HtmlEsc(ByRef s As String) returns(String)
Function html esc. Returns String.
ParameterTypeDirectionDescription
ByRefs As Stringby refauto
Returns String — value of type String
Calls 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.
ParameterTypeDirectionDescription
ByRefs As Stringby refauto
Returns String — value of type String
Calls 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.
ParameterTypeDirectionDescription
ByRefs As Stringby refauto
Returns String — value of type String
Calls util.bas.ReplaceAll
Called by util.bas.PathBase, util.bas.IsExcluded
util.bas:112

PathBaseauto

function PathBase(ByRef s As String) returns(String)
Function path base. Returns String.
ParameterTypeDirectionDescription
ByRefs As Stringby refauto
Returns String — value of type String
Calls util.bas.NormSep
Called by util.bas.PathExtOf
util.bas:116

PathExtOfauto

function PathExtOf(ByRef s As String) returns(String)
Function path ext of. Returns String.
ParameterTypeDirectionDescription
ByRefs As Stringby refauto
Returns String — value of type String
Calls util.bas.PathBase, util.bas.LC
Called by util.bas.ExtWanted
util.bas:126

ExtWantedauto

function ExtWanted(ByRef fn As String) returns(Integer)
Function ext wanted. Returns Integer.
ParameterTypeDirectionDescription
ByReffn As Stringby refauto
Returns Integer — value of type Integer
Calls util.bas.PathExtOf
no callers within the scanned code
util.bas:136

IsExcludedauto

function IsExcluded(ByRef p As String) returns(Integer)
Determines whether excluded applies. Returns Integer.
ParameterTypeDirectionDescription
ByRefp As Stringby refauto
Returns Integer — value of type Integer
Calls util.bas.LC (2x), util.bas.NormSep
no callers within the scanned code
util.bas:144

IsDirPathauto

function IsDirPath(ByRef p As String) returns(Integer)
Determines whether dir path applies. Returns Integer.
ParameterTypeDirectionDescription
ByRefp As Stringby refauto
Returns Integer — value of type Integer
Calls util.bas.Say (2x)
no callers within the scanned code
util.bas:161