Issue 17946 - Basic: inconsistencies in params checking
Summary: Basic: inconsistencies in params checking
Status: ACCEPTED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: All All
: P5 (lowest) Trivial (vote)
Target Milestone: AOO PleaseHelp
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 26918 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-08-06 23:14 UTC by paolomantovani
Modified: 2017-05-20 11:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description paolomantovani 2003-08-06 23:14:51 UTC
REM  *****  BASIC  ***** 
'the code shows some inconsistencies 
'on params checking, and more 
 
Option Explicit 
 
Sub test_params 
dim vVar, vVar1 
 
	vVar = test(1, 2) 
	vVar = test(1, 2, 3) 
	vVar = test(1, 2, 3, vVar(,,,)) 
 
	print vVar 
	print vVar(,,,,"commas",,,,,"here",, ) 
	print vVar(Null(,,true,,,,false, nothing)) 
	 
		 
	vVar1 = Now("fake", "params", "here") 
	print vVar1 
	 
End Sub 
 
function test(a,b) 
	test = a + b 
end function
Comment 1 kay.ramme 2003-08-07 10:41:13 UTC
Andreas, please take care of this and target appropriately.
Comment 2 ab 2003-09-01 14:31:04 UTC
-> OOo 2.0
Comment 3 lohmaier 2004-03-24 18:21:12 UTC
*** Issue 26918 has been marked as a duplicate of this issue. ***
Comment 4 christof.pintaske 2004-06-17 16:44:03 UTC
cp: retargeted to Office-Later due to limited ressources
Comment 5 ab 2005-07-28 10:23:03 UTC
I see this as very uncritical. Additional parameters are ignored, but no 
programmer is forced to pass too much parameters and even if he 
does, the programm still works correctly.

Besides this, it's risky to change this because of backward compati-
bility and because it affects very sensitive parts of the Basic core. 
I don't think that this problem is worth to take any risks -> P5
Comment 6 Marcus 2017-05-20 11:29:25 UTC
Reset assigne to the default "issues@openoffice.apache.org".