Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
Is it valid to pass NULL as the name of a widget in a widget creation routine or should this be a null string ("")??? I have a customer who is attempting to write an application which will run on ULTRIX/VMS/RISC. Passing NULL as the name for some widgets works just fine on ULTRIX and RISC but not in some instances on VMS. For instance creating a message box or menu results in an accvio. What I want to know is whether or not NULL is a valid value for a widget name or is "" the way to go. He wants to be consistent throughout and to be sure that this is not going to change later. Any ideas?? bernie csc/cs
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1133.1 | LEOVAX::TREGGIARI | Wed Jul 19 1989 07:53 | 4 | ||
NULL is not valid. They should use "". Leo | |||||
1133.2 | FLUME::dike | Wed Jul 19 1989 08:38 | 4 | ||
I'm surprised NULL works on a PMAX. Having NULL as a string value is begging for a crash. Jeff | |||||
1133.3 | thanks for the quick responses | CSC32::B_BRADACH | Wed Jul 19 1989 10:47 | 12 | |
RE: .1 and .2 thanks for the responses. The customer says it does work on the pmax. He just found it strange that it is not consistent across widgets which he has found that he can use under VMS. Since I don't have his code I can't verify his statement. Thanks for the responses. bernie csc/cs |