Skip to content

SpecificationC · Appendix C — Diagnostics

C.1

Diagnostic catalogue

Markdown version

Every diagnostic code with its class, severity and message. When a section explains a code, the code links to it.

CodeSeverityClassMessageSection
algorithmOutsideEntryerrorsemanticOnly the entry module can contain an algorithm8.2
ambiguousReexporterrorsemanticThe exported name «lexeme» is ambiguous8.2
ambiguousVariantTypeerrorsemanticVariant requires an explicit variant type in its context3.10
analysisNestingLimitExceedederrorsyntaxAnalysis nesting limit exceeded: «limit»2.10
argumentCountMismatcherrorsemanticIncorrect number of arguments: expected «expected» but found «found»9.3
arrayCannotBeUsedAsValueerrorsemanticAn array cannot be used as a scalar value in an expression or assignment3.4
arrayDimensionCountMismatcherrorsemanticIncorrect number of indices for array «lexeme»3.4
arrayIndexOutOfRangeerrorruntimeIndex «index» is out of range for an array of size «size»5.3
awaitInsideDefererrorsemanticAwait is not allowed inside defer11.1
awaitOperandInvaliderrorsemanticAwait requires a suspendable operation or task handle11.1
awaitOutsideSuspendibleerrorsemanticAwait is only allowed in a suspendable subprogram or root unit7.8
bindingOutsideScopeerrorsemanticDeclaration of «lexeme» is outside its scope6.5
bindingReadsOwnInitializererrorsemanticInitializer reads its own binding5.1
bindingShadowsOuterwarningsemanticDeclaration of «lexeme» shadows an outer binding6.5
breakOutsideLooperrorsemanticBreak is only valid inside a loop6.7
byReferenceArgumentRequiresDesignatorerrorsemanticAn argument passed by reference must be a variable or array element7.3
byReferenceArgumentTypeMismatcherrorsemanticThe type of argument passed by reference to «lexeme» must match parameter type exactly
bytesRangeOutOfBoundserrorruntimeThe segment exceeds the bounds of Bytes3.14
callAsExpressionWithoutReturnTypeerrorsemanticSubroutine «lexeme» does not return a value and cannot be used in an expression7.4
cannotConcatenateNumberWithTexterrorsemanticCannot concatenate number with text; use conversion function or separate expressions with comma4.6
cannotInferTypeArgumenterrorsemanticCannot infer a unique type argument «lexeme»
cellLimitExceedederrorruntimeMemory limit reached: «limit» cells13.6
chainedArrayAccesserrorsyntaxChained multidimensional array access is not allowed; use single brackets with commas
channelCapacityExceedederrorruntimeChannel capacity exceeds the configured maximum13.6
channelCapacityInvaliderrorsemanticChannel capacity must be positive11.3
channelElementNotTransferableerrorsemanticA channel element must be transferable: «type» at «path»11.3
channelOperationWithoutAwaiterrorsemanticSend and receive require await11.3
circularConstantDefinitionerrorsemanticConstant «lexeme» depends on itself5.2
circularInheritanceerrorsemanticCircular inheritance detected in class «lexeme»9.4
classAndSubroutineSameNameerrorsemanticName conflict: class and subroutine cannot both be named «lexeme»
classInsideAlgorithmerrorsyntaxDeclaring a class inside the algorithm body is not allowed
classInsideSubroutineerrorsyntaxDeclaring a class inside a subroutine is not allowed
closureEnvironmentTooLargeerrorsemanticClosure environment exceeds its representation limit
collectionCannotBeWrittenerrorsemanticCollection elements have no output representation3.5
collectionLimitExceedederrorruntimeCollection element or byte limit exceeded3.5
collectionModifiedDuringIterationerrorruntimeThe collection was structurally modified during iteration6.6
collectionVersionExhaustederrorruntimeCollection structural version exhausted
constantArithmeticOverflowerrorsemanticComputing constant «lexeme» overflows the allowed range5.2
constantBudgetExceedederrorsemanticComputing constant «lexeme» exceeds the allowed budget5.2
constantDivisionByZeroerrorsemanticComputing constant «lexeme» divides by zero5.2
constantNotEvaluableerrorsemanticThe value of constant «lexeme» cannot be computed when the program is analyzed5.2
constantReassignederrorsemanticConstant «lexeme» cannot be assigned5.2
constructorOutsideClasserrorsyntaxConstructor is only valid inside a class
constructorReturnTypeNotAllowederrorsyntaxConstructor does not allow a return type
constructorVisibilityNotAllowederrorsyntaxConstructor does not allow a visibility modifier; it is always public
controlTransferInsideCleanuperrorsemanticA cleanup cannot transfer control or register another cleanup6.8
controlVariableModifiederrorsemanticControl variable «lexeme» is modified inside the loop6.5
decimalPlacesOutOfRangeerrorruntimeThe number of decimal places must be between 0 and 10012.3
dimensionWithoutTypeerrorsemanticDimension without a type requires «lexeme» to be declared with define in this scope, without a value and unused3.4
discardRequiresResulterrorsemanticDiscard requires a result
discardedReturnValuewarningsemanticReturn value from subroutine «lexeme» is discarded7.4
divOrModWithRealOperanderrorsemanticThe div and mod operators only accept integers; use trunc or round for real values
divisionByZeroerrorruntimeDivision by zero4.2
duplicateClasserrorsemanticDuplicate declaration of class «lexeme»
duplicateConstructorerrorsyntaxMultiple constructors in the same class are not allowed
duplicateDefaultCaseerrorsyntaxCannot have more than one default branch
duplicateElseClauseerrorsyntaxIf statement cannot have more than one else branch
duplicateEnumMembererrorsemanticMember «lexeme» is repeated in the enumeration3.8
duplicateMembererrorsemanticDuplicate member «lexeme» in class9.1
duplicateModifiererrorsyntaxDuplicate modifier
duplicateParameterNameerrorsemanticDuplicate parameter name: «lexeme»7.2
duplicatePassingModifiererrorsyntaxCannot specify both By Value and By Reference for the same parameter
duplicateSubroutineerrorsemanticDuplicate declaration of subroutine «lexeme»7.1
duplicateSwitchCaseLabelerrorsyntaxDuplicate label in switch statement: «lexeme»6.2
duplicateTypeDeclarationerrorsemanticType «lexeme» is already declared
duplicateVariableDeclarationerrorsemanticDuplicate declaration of variable «lexeme» in the same scope5.1
duplicateVisibilityModifiererrorsyntaxCannot specify more than one visibility modifier for the same member
elementTypeNotComparableerrorsemanticThe element type does not support value search
elementTypeNotOrderableerrorsemanticThe element type requires a comparator
emptyDimensionListerrorsyntaxDimension declaration requires at least one dimension
emptyIndexListerrorsyntaxArray access requires at least one index
emptyParentheseserrorsyntaxParentheses cannot be empty
emptySeparatorerrorruntimeThe separator cannot be empty
entryMissingAlgorithmerrorsemanticThe entry module does not contain an algorithm8.2
expectedAlgorithmNameerrorsyntaxExpected algorithm name
expectedAlgorithmStarterrorsyntaxExpected algorithm start8.1
expectedAssignmentOperatorerrorsyntaxExpected assignment operator
expectedBranchSeparatorerrorsyntaxExpected branch separator
expectedClassNameerrorsyntaxExpected class name
expectedClassNameInInstantiationerrorsyntaxExpected class name after keyword new
expectedConstantInitializererrorsyntaxA constant needs an initial value5.2
expectedConstantNameerrorsyntaxExpected constant name5.2
expectedDoKeyworderrorsyntaxExpected do keyword6.3
expectedEnumMembererrorsyntaxExpected an enumeration member
expectedEnumNameerrorsyntaxExpected enumeration name
expectedExpressionerrorsyntaxExpected an expression10.3
expectedForLoopVariableerrorsyntaxExpected control variable for counted loop
expectedIdentifierInDeclarationerrorsyntaxExpected at least one variable to declare
expectedIdentifierInDimensionerrorsyntaxExpected array name to dimension
expectedInterfaceSignatureerrorsyntaxExpected a method signature without a body
expectedMemberNameAfterDoterrorsyntaxExpected member name after dot access operator
expectedMemberNameAfterThiserrorsyntaxKeyword this must be followed by a member access (.name)
expectedModuleNameerrorsyntaxExpected a module name8.2
expectedParameterNameerrorsyntaxExpected parameter name
expectedReadTargeterrorsyntaxRead statement requires at least one variable
expectedRecordFielderrorsyntaxA record only contains field declarations
expectedRecordNameerrorsyntaxExpected record name
expectedSubroutineLeftParenthesiserrorsyntaxExpected opening parenthesis in subroutine header
expectedSubroutineNameerrorsyntaxExpected subroutine name
expectedThenKeyworderrorsyntaxExpected then keyword6.1
expectedToKeyworderrorsyntaxExpected to keyword for counted loop limit
expectedTypeerrorsyntaxExpected a primitive data type
expectedTypeConnectorerrorsyntaxExpected type connector
expectedVariantAlternativeerrorsyntaxExpected a variant case
genericConstraintNotSatisfiederrorsemanticThe type argument does not implement interface «lexeme»
genericInstanceLimitExceedederrorsemanticGeneric «lexeme» exceeds the limit of «limit» instances
identifierMatchesFieldWithoutThiserrorsemanticUnqualified field access; use this.«lexeme»9.2
immutableBindingAssignmenterrorsemanticThis binding cannot be reassigned6.6
immutableValueWriteerrorsemanticAn immutable value cannot be modified3.13
importCycleerrorsemanticThe imports form a cycle: «lexeme»8.2
importNameCollisionerrorsemanticThe name «lexeme» is already in use in this module8.2
incompatibleArgumentTypeerrorsemanticIncompatible argument type for parameter «lexeme»12.8
incompatibleMethodOverrideerrorsemanticOverridden method «lexeme» signature does not match superclass method9.4
incompatibleOperandTypeserrorsemanticIncompatible types for operator «lexeme»4.1
incompatiblePropagationTypeerrorsemanticPropagation requires a compatible return and the same error type12.7
incompatibleReturnTypeerrorsemanticThe returned expression type does not match the declared return type
incompatibleSwitchCaseTypeerrorsemanticCase label type is not compatible with switch selector6.2
incompatibleTypesInAssignmenterrorsemanticIncompatible types in assignment: cannot assign «found» to «expected»5.3
incompatibleVariantConstructorerrorsemanticConstructor does not belong to the expected variant type3.10
inferredVariableTypeinformationsemanticInferred type for «lexeme»: «type»
inheritedAttributeShadowederrorsemanticAttribute «lexeme» is already declared in a superclass9.4
initializationInDeclarationNotAllowederrorsyntaxVariable declaration does not support initial value assignment
initializerWithMultipleNameserrorsyntaxAn initial value is only allowed when declaring a single name5.1
integerLiteralOutOfRangeerrorsyntaxInteger literal «lexeme» is out of the signed 64-bit range2.6
integerOverflowerrorruntimeThe operation produces an integer outside the signed 64-bit range12.4
interfaceCannotBeValueerrorsemanticAn interface can only constrain a type parameter
interfaceInsideAlgorithmerrorsyntaxAn interface cannot be declared inside a unit body
interfaceMethodMissingerrorsemanticMissing implementation of method «lexeme»
interfaceMethodNotPublicerrorsemanticImplemented method «lexeme» must be public
interfaceMethodSignatureMismatcherrorsemanticThe signature of method «lexeme» does not satisfy the interface9.5
internalFaulterrorinternalInternal engine fault
invalidArrayReturnTypeerrorsyntaxReturn type cannot be an array
invalidAssignmentTargeterrorsyntaxAssignment target is not a valid variable or array element5.3
invalidCharacterCodeerrorruntimeCode «code» does not designate a valid Unicode code point12.2
invalidDefaultCasePositionerrorsyntaxDefault branch must be the last branch in switch statement
invalidDictionaryKeyTypeerrorsemanticThe dictionary key type is not allowed3.6
invalidEscapeSequenceerrorlexicalInvalid escape sequence: «lexeme»2.7
invalidForEachBindingserrorsemanticThe binding count does not match the collection
invalidForEachCollectionerrorsemanticFor each requires a vector, dictionary, or one-dimensional array
invalidFunctionReferenceerrorruntimeFunction reference does not match a valid signature
invalidPaddingTexterrorruntimeThe padding must have exactly one code point12.2
invalidRandomBounderrorruntimeThe random bound must be greater than zero12.5
invalidRandomRangeerrorruntimeThe randomBetween interval needs a start less than or equal to its end12.5
invalidReadTargeterrorsyntaxRead target is not a valid variable or array element12.6
invalidSuperConstructorCallPositionerrorsemanticCall to superclass constructor must be the first statement
jsonKindMismatcherrorruntimeThe operation does not accept this JSON kind
maxDiagnosticsExceedederrorsyntaxMaximum limit of syntactic diagnostics exceeded10.3
methodNamedAsClasserrorsyntaxTo declare a constructor use the keyword Constructor instead of the class name
methodOutsideClasserrorsyntaxMethod declaration is only valid inside a class
mismatchedBlockEnderrorsyntaxClosing token does not match open block: «lexeme»
missingDictionaryKeyerrorruntimeThe key does not exist in the dictionary3.6
missingInstantiationParentheseserrorsyntaxInstantiation requires parentheses with or without arguments
missingReturnExpressionerrorsemanticExpected an expression in the return statement
missingStatementTerminatorerrorsyntaxExpected a semicolon at the end of the statement10.3
missingSuperConstructorCallerrorsemanticMissing required call to superclass constructor
moduleSyntaxOutsideProjecterrorsemanticImport, export and unit visibility are only allowed inside a project8.2
multipleAlgorithmserrorsyntaxMultiple algorithms in a single source file are not allowed8.1
multipleInheritanceNotSupportederrorsyntaxMultiple inheritance is not allowed; only single inheritance is supported9.4
mutableClosureCaptureerrorsemanticCannot capture «lexeme» of type «type»: it is reassigned or is a by-reference parameter3.11
negativeArraySizeerrorruntimeAn array size cannot be negative: «size»3.4
negativeIntegerExponenterrorruntimeInteger power does not allow a negative exponent: «exponent»4.3
nestedClassNotSupportederrorsyntaxDeclaring a class inside another class is not allowed
noOrderBetweenBooleanserrorsemanticRelational order operators are not permitted between boolean values4.4
nonBooleanConditionerrorsemanticCondition must be a boolean expression6.3
nonExhaustiveSwitcherrorsemanticMissing branches: «lexeme»6.2
nonFiniteRealResulterrorruntimeThe operation produces a non-finite real value12.4
nonIntegerArrayIndexerrorsemanticArray index must be of integer type
nonIntegerForBounderrorsemanticFor loop control variable and bounds must be of integer type
nonLiteralSwitchCaseLabelerrorsyntaxSwitch case labels must be literal values
objectCannotBeWrittenerrorsemanticCannot write an object directly to output; access its attributes
paddingWidthOutOfRangeerrorruntimeThe padding width cannot be negative12.2
passingModifierBeforeParameterNameerrorsyntaxPassing modifier must be placed after parameter type
privateImporterrorsemantic«lexeme» is private in its module8.2
privateMemberAccesserrorsyntaxCannot access private member «lexeme» of class «className»9.1
privateReexporterrorsemanticCannot re-export «lexeme»: it is private8.2
privateTypeInPublicSignatureerrorsemanticThe private type «lexeme» appears in a public signature8.2
profileMismatcherrorsemanticThe configured profile does not match the one the file declares: «lexeme»
pureFunctionInterfaceImpurityerrorsemanticThe implementation of a pure interface method cannot have side effects7.8
pureFunctionSideEffecterrorsemanticA pure function cannot perform I/O effects or invoke capabilities7.8
pureFunctionTaskOperationerrorsemanticA pure function cannot operate tasks or channels11.3
pureFunctionTransitiveSideEffecterrorsemanticA pure function cannot invoke subroutines or closures with side effects7.8
readValueTypeMismatchwarningruntimeExpected a value of type «expected», and received «found»12.6
realEqualityComparisonwarningsemanticEquality comparison between real values; precision errors may yield unexpected results4.4
recordArrayTooWideerrorsemanticA record with more than 1024 leaves cannot be an array element
recordCannotBeWrittenerrorsemanticA record cannot be written directly3.7
recordLayoutLimiterrorsemanticA record with more than 65535 leaves exceeds the layout limit
recordNotInferableerrorsemanticVariable «lexeme» must be declared with its type to hold a record
recordWithoutFieldserrorsemanticRecord «lexeme» must have at least one field3.7
recursionDepthExceedederrorruntimeRecursion depth limit reached: «limit»13.6
recursiveRecordContainmenterrorsemanticRecord «lexeme» contains itself by value3.7
reservedImportNeedsAliaserrorsemanticThe imported name «lexeme» is a reserved word of this profile and needs an alias8.2
reservedLexemeUsedAsNameerrorsyntax"«lexeme»" is a reserved word in this profile, equivalent to «token». Choose another name.2.5
resultNotHandlederrorsemanticUnhandled result of type «type»: handle it with switch, propagate it, or discard it explicitly3.10
returnExpressionInVoidSubroutineerrorsemanticA subroutine or method with no return type cannot return a value
returnOutsideSubroutineerrorsyntaxReturn statement is only valid inside a subroutine7.5
returnValueInReturnVariableFunctionerrorsemanticA function with a return variable ends with return and no expression7.5
returnVariableNotDeclarederrorsemanticReturn variable «lexeme» must be declared with define in the function body7.1
returnWithValueInConstructorerrorsemanticA constructor cannot return a value
selectNeedsTwoBrancheserrorsemanticSelect requires at least two receive branches11.3
snapshotNotSupportederrorsemanticType «type» does not support snapshots at «path»3.13
spawnOutsideTaskScopeerrorsemanticSpawn is only allowed in the direct lexical body of tasks11.2
spawnTargetNotSuspendibleerrorsemanticSpawn requires the name of a suspendable subprogram11.2
statementBudgetExhaustedinformationruntimeStatement budget exhausted: «limit»13.6
stringPositionOutOfRangeerrorruntimePosition «position» is out of range for a string of length «length»12.2
stringToNumberConversionFailederrorruntimeText «lexeme» does not represent a number12.3
subroutineAndVariableSameNameerrorsemanticVariable «lexeme» cannot have the same name as a subroutine in the same scope
subroutineEndedWithoutReturnerrorruntimeAn execution path of «lexeme» reaches the end without returning7.5
subroutineInsideAlgorithmerrorsyntaxDeclaring a subroutine inside the algorithm body is not allowed
subroutineInsideClasserrorsyntaxDeclaring a subroutine inside a class is not allowed; use a method declaration
subroutineInsideSubroutineerrorsyntaxDeclaring a subroutine inside another subroutine is not allowed
subroutineWithoutReturnerrorsemanticSubroutine «lexeme» declares a return type but its body contains no return statement7.1
superInClassWithoutSuperclasserrorsyntaxCannot use super in a class that does not inherit from any superclass9.4
superNotFollowedByCallerrorsyntaxKeyword super can only be used as target of a method or constructor call
superOutsideMethoderrorsyntaxKeyword super is only valid inside a method or constructor
suspendibleAsValueerrorsemanticA suspendable subprogram cannot be used as a value11.1
suspendibleCallWithoutAwaiterrorsemanticA call to a suspendable subprogram must use await11.1
suspendibleModifierNotAllowederrorsemanticThe suspendable modifier is not allowed on this declaration11.1
taskArgumentNotTransferableerrorsemanticThe task argument cannot be transferred in isolation: «type» at «path»11.2
taskByReferenceArgumenterrorsemanticA task argument cannot be passed by reference11.2
taskDeadlockerrorruntimeThe task agenda has no runnable tasks or pending effects that can resume it13.3
taskErrorNotTransferableerrorsemanticA task error must be transferable: «type» at «path»11.2
taskHandleEscapeerrorsemanticA task handle can only be awaited within its scope11.2
taskLimitExceedederrorruntimeLive task limit reached: «limit»13.6
taskScopeErrorTypeMismatcherrorsemanticFallible tasks in a scope require the same exact error type11.2
taskScopeFailureUnbounderrorsemanticA fallible scope needs a failure binding11.2
taskScopeFailureUnusederrorsemanticA scope failure binding requires fallible tasks and must be consumed11.2
taskScopeInsideDefererrorsemanticTasks and spawn are not allowed inside defer11.2
thisOutsideMethoderrorsyntaxKeyword this is only valid inside a method or constructor
trailingCommaerrorsyntaxTrailing comma
typeArgumentCountMismatcherrorsemanticType «lexeme» expects «expected» type arguments but received «found»3.12
typeConflictOnInferredVariableerrorsemanticType conflict for variable «lexeme»: cannot reassign to incompatible type
unclosedAlgorithmerrorsyntaxUnclosed algorithm at end of file
unclosedBracketerrorsyntaxUnclosed opening bracket
unclosedClasserrorsyntaxUnclosed class at end of file
unclosedDefererrorsyntaxUnclosed defer block
unclosedEnumerrorsyntaxUnclosed enumeration at end of file
unclosedForStatementerrorsyntaxUnclosed for loop
unclosedIfStatementerrorsyntaxUnclosed if statement6.1
unclosedInterfaceerrorsyntaxUnclosed interface
unclosedMethoderrorsyntaxUnclosed method at end of file
unclosedParenthesiserrorsyntaxUnclosed opening parenthesis
unclosedRecorderrorsyntaxUnclosed record at end of file
unclosedRepeatStatementerrorsyntaxUnclosed repeat loop6.4
unclosedSubroutineerrorsyntaxUnclosed subroutine at end of file
unclosedSwitchStatementerrorsyntaxUnclosed switch statement
unclosedTaskScopeerrorsyntaxUnclosed task scope
unclosedVarianterrorsyntaxUnclosed variant
unclosedWhileStatementerrorsyntaxUnclosed while loop6.3
undeclaredClasserrorsemanticUndeclared class: «lexeme»
undeclaredSubroutineerrorsemanticUndeclared subroutine: «lexeme»12.1
undeclaredSuperclasserrorsemanticSuperclass «lexeme» is not declared9.4
undeclaredVariableerrorsemanticUndeclared variable: «lexeme»9.2
undefinedEnumMembererrorsemanticThe enumeration has no member «lexeme»3.8
undefinedMembererrorsemanticUndefined member: «lexeme»
unexpectedBlockEnderrorsyntaxUnexpected block closing without matching open block: «lexeme»
unexpectedClosingParenthesiserrorsyntaxUnexpected closing parenthesis
unexpectedModifierPositionerrorsyntaxWithout newline modifier must be placed at the end of the statement12.6
unexpectedStatementerrorsyntaxUnrecognized statement or token: «lexeme»
unexpectedTokenInExpressionerrorsyntaxUnexpected token in expression: «lexeme»
unexpectedTokenOutsideAlgorithmerrorsyntaxUnexpected token outside algorithm: «lexeme»
unexpectedTokenOutsideProgramUniterrorsyntaxUnexpected token outside algorithm and subroutines: «lexeme»8.1
uninitializedVariableReaderrorruntimeVariable «lexeme» is read without being initialized5.5
unknownInterfaceerrorsemanticInterface «lexeme» is not declared
unreachableSwitchPatternerrorsemanticPattern is unreachable6.2
unrecognizedCharactererrorlexicalUnrecognized character: «lexeme»2.10
unresolvedImporterrorsemanticThe module does not export «lexeme»8.2
unresolvedModuleerrorsemanticModule «lexeme» was not found8.2
unsupportedAbstractConstructerrorsyntaxAbstract classes and methods are not supported in PseudoLearn9.7
unsupportedExceptionConstructerrorsyntaxStructured exception handling is not supported in PseudoLearn9.7
unsupportedProtectedConstructerrorsyntaxProtected visibility is not supported in PseudoLearn; use public or private9.7
unsupportedStaticConstructerrorsyntaxStatic members are not supported in PseudoLearn9.7
unsupportedStructuredConstructerrorsyntaxConstruct not supported in structured programming: «lexeme»
unterminatedStringerrorlexicalUnterminated string literal2.7
unusedParameterwarningsemanticParameter never used: «lexeme»
unusedSubroutinewarningsemanticSubroutine declared but never called: «lexeme»
variableAssignedNeverReadwarningsemanticVariable assigned but never read: «lexeme»5.6
variableDeclaredNeverUsedwarningsemanticVariable declared but never used: «lexeme»5.6
variableUsedBeforeDeclarationerrorsemanticVariable «lexeme» is used before its declaration
variableUsedUninitializederrorsemanticVariable «lexeme» may have no value at this point (cause: «cause»)5.5
variantLayoutLimiterrorsemanticVariant layout exceeds the operand limit
variantRequiresPatternerrorsemanticVariant must be inspected through switch patterns
variantWithoutAlternativeserrorsemanticVariant «lexeme» must have at least one alternative3.9
widenedVariableTypeinformationsemanticType of «lexeme» widened from Integer to Real
zeroStepInCountedLooperrorruntimeThe step of a counted loop cannot be zero6.5