dbcheck
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Debug
Introduced first in SolidGeometry 5.2, Creation date: 2022-08-01, Last change: 2025-09-15
checks wether a variable is stored in global workspace and listed in SGvar
Description
returns 1 if variable existst with the same value as paremeter 2
returns 0 if variable existst but with a different value
returns -1 if variable does not exist at all
See Also: dbcheck
, dbload
, dbsave
, whoSG
Example Illustration
Syntax
ri=dbcheck(vari,[val])
Input Parameter
vari: | | variable |
val: | | optional value |
Output Parameter
ri: | | true if variable is unchanged or not exisiting; false if different |
Copyright 2022-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21