Summary: [ Lang. Ref.] Improve documentation for the new 'New Picture' syntax
Product: REALbasic
ProductVersion: 4.5fc4
Component: Documentation
Severity: Incorrect Functionality
CC: realbasic-dr at lists dot realsoftware dot com
Reproduce:
Reproducible: Always
OSVersion: 9.1
CPUType: PowerPC
SubmittedOn:
REALbugsVersion: 1.4.1
Description:
In the Language Reference available inside RB via the Help menu, the new RB 4.5
'New Picture' syntax is not documented appropriately.
-- Of course, the entry for the Picture class contains a short reference.
-- But the entry for the (old) NewPicture function misses any notice that you
could also use just 'New Picture(...)' instead. In my understanding, the new
'New Picture' syntax is the preferred one, so its usage should be advertised.
-- And IIRC from the release notes, creating a picture object via the new 'New
Picture' syntax may raise an OutOfMemoryException. So, please add a note
mentioning this to the Language Reference entry for the Picture class, and add
a reference to the Language Reference entry for the OutOfMemoryException class.
Best,
Roman
WorkaroundNotes:
Workaround: 0
|