hi im trying the following pseudocode:

Code:
Algorithm image
CHARACTER cla

output 'Welcome to my program'
input argv[count]
	
	if argv = -i
		output 'You have decided to invert the image'
		..CALL FUNCTION..
	elseif argv = -h
		output 'You have decided to scroll the image'
		..CALL FUNCTION..
	else 
		output 'ERROR: Incorrect argument'
		return 0
	endif
end algorithm
do i need a for loop for it?
Now for argv does it seem right? like will it perform what iv asked?