top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

Beginner

10

Delete part of an array

RANK

SNS SHARE

AZSTOKe_sample_del_remove

def Msg(parm):

   RPR_ShowConsoleMsg(str(parm) + "\n")


list1 = ["A","B","C","D","E","F"]

Msg(list1)


del list1[-1]

Msg(list1)


del list1[3]

Msg(list1)


list1.remove("B")

Msg(list1)

def Msg(parm):

   RPR_ShowConsoleMsg(str(parm) + "\n")


  • A function that outputs the input value to the Reaper console


list1 = ["A","B","C","D","E","F"]

Msg(list1)


  • Prepare a list of alphabetic strings

  • Display with Msg function


del list1[-1]

Msg(list1)


  • -1 removes from the end of the array


del list1[3]

Msg(list1)


  • 3 deleted by D in 0.1.2.3


list1.remove("B")

Msg(list1)


  • remove removes items that match the specified value

  • Since “B” was specified, delete B.

APIの利用にはBRONZEに

加入し専用APIを

ダウンロード

する必要があります。

No preparation required


- Script Code -
- Script Image -
- Warm Up -
- Script Detail -
- API -

PYTHON

​ReaScript File Download 👇

​※実行するには専用APIが必要です

- Script Image -
bottom of page