Project

General

Profile

Actions

Bug #822

open

Set Wave gets a type mismatch error

Added by Brian Flanagan over 2 years ago. Updated over 2 years ago.

Status:
Feedback
Priority:
Normal
Target version:
Start date:
09/17/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

The problem exists in both manifests.

For example: (from top of page 08.06.06 of AMOS Pro manual)

S$=""
For W=-128 To 127
    X=W : If X < 0 Then Add X,256
    S$=S$+Chr$(X)
Next W
Set Wave 2,S$
Wave 2 To 15 : For S=10 TO 60 : Play S,10 : Next S

Also, same error in example at bottom of page 08.01.06 of AMOS Pro manual: (renamed Shape$ to Shpe$ just to be safe.

Shpe$="" : Degree
For S=0 To 255
    V=Int((Sin(S)/2+Sin(S*2+45)/4)*128)+127
    Shpe$ = Shpe$ + Chr$(V)
Next S
Set Wave 2,Shpe$
Wave 2 To 15
For N=10 TO 60 : Play N,10 : Next N

The same error is generated for both examples.

Actions

Also available in: Atom PDF