Valik Posted March 16, 2009 Posted March 16, 2009 Wrong. Nil is usually an object that means "no object". As Manadar pointed out, a language recognizes attempts to use Nil as something and flags an error. It *does not* mean "NULL Pointer". A NULL pointer is for all intents and purposes 0x00000000. You keep bringing pointers into this and that further napalms your entire effort because keywords like nil have nothing to do with pointers.
Yashied Posted March 16, 2009 Author Posted March 16, 2009 If you're using nil then you are referring to an invalid or uninitialized variable. Like Ruby or Lua.Not a pointer.... like Turbo Pascal and Delphi, etc.Manadar, this is the same. I am talking only about the syntax of programming languages. Although why in AutoIt are the keywords "True" and "False". They, too, can always be replaced by 0 or 1. Only the syntax of the language will be corrupted, which in my opinion is far from being the last importance. But in any case, there is no need to continue the dispute, as Valik said that it's not going to happen.Thanks. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
Valik Posted March 16, 2009 Posted March 16, 2009 ... like Turbo Pascal and Delphi, etc.Manadar, this is the same. I am talking only about the syntax of programming languages. Although why in AutoIt are the keywords "True" and "False". They, too, can always be replaced by 0 or 1. Only the syntax of the language will be corrupted, which in my opinion is far from being the last importance. But in any case, there is no need to continue the dispute, as Valik said that it's not going to happen.Thanks. AutoIt didn't have True and False, originally. Those two keywords were added because of COM. As was the Default keyword.
Yashied Posted March 16, 2009 Author Posted March 16, 2009 AutoIt didn't have True and False, originally. Those two keywords were added because of COM. As was the Default keyword.OK My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
James Posted March 20, 2009 Posted March 20, 2009 Something that interests me about Default; how does it work? I mean, how does AutoIt know what the "default" for a function is? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
Richard Robertson Posted March 20, 2009 Posted March 20, 2009 No, default is like a constant that contains an uninitialized variable.
Valik Posted March 21, 2009 Posted March 21, 2009 Something that interests me about Default; how does it work? I mean, how does AutoIt know what the "default" for a function is?Here's a clue: ConsoleWrite(VarGetType(Default) & @CRLF)
James Posted March 21, 2009 Posted March 21, 2009 Here's a clue: ConsoleWrite(VarGetType(Default) & @CRLF)Here's the output: Keyword Richards reply makes more sense. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
jvanegmond Posted March 22, 2009 Posted March 22, 2009 No, default is just a keyword like true and false are keywords. github.com/jvanegmond
Valik Posted March 22, 2009 Posted March 22, 2009 Nope. It's not. The implementation of Default is unique.
jvanegmond Posted March 23, 2009 Posted March 23, 2009 Let me rephrase. Default is a keyword like true and false are keywords. github.com/jvanegmond
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now