 |
Enthusiast |
 |
Joined: Sat Feb 08, 2014 3:26 pm Posts: 718
|
If PB is fast and light, it is precisely because he doesn't bother with all these checks. There are only two public for PB - Beginners (who do not handle user errors)
- Experienced (sometime professionals) who know how to handle errors without "trial and error" (try/catch)
The " On Error" lib and the IsXXX(1) functions are sufficient to make stable programs. All native PB functions return a value. And we've been doing this for over 20 years in PB (1) IsBillboardGroup, IsCamera, IsDatabase, IsDialog, IsDirectory, IsEffect, IsEntity, IsFile, IsFingerprint, IsFont, IsFtp, IsGadget, IsGadget3D, IsImage, IsInfinity, IsInsidePath, IsInsideStroke, IsJSON, IsJoint, IsLibrary, IsLight, IsMail, IsMaterial, IsMenu, IsMesh, IsMovie, IsMusic, IsNaN, IsNode, IsParticleEmitter, IsPathEmpty, IsProgram, IsRegularExpression, IsRuntime, IsScreenActive, IsSerialPort, IsSound, IsSound3D, IsSprite, IsStaticGeometry, IsStatusBar, IsSysTrayIcon, IsText3D, IsTexture, IsThread, IsToolBar, IsWindow, IsWindow3D, IsXML
_________________ (English is not my native language, I use an online translator) Windows 10 Family x64 + Linux (Slackware, Debian on Oracle VirtualBox 6.0) + Raspberry Pi
Last edited by Marc56us on Tue Sep 10, 2019 4:27 pm, edited 1 time in total.
|
|