Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 244 - CLIPPED  (Read 193 times)
Reuben B.
Four Js
Posts: 1114


« on: October 09, 2024, 02:03:15 am »

One of the first things junior developers learn the hard way when they are starting out is the importance of using CLIPPED with CHAR variables.  If you forget CLIPPED when concatenating CHAR you will see some spaces in the middle of your concatenated string.
 
With the prevalence of STRING variables, developers can fall into the habit of not using CLIPPED, particularly when passing arguments to functions.  ui.ComboBox.addItem calls and methods involving filenames are the common places where the CLIPPED is forgotten.

Read more at https://4js.com/ask-reuben/ig-244/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines